<template>
  <div class="list-container">
    <div class="sortList clearfix">
      <div class="center">
        <!-- 轮播图 -->
        <Swiper></Swiper>
      </div>
     
      <div class="right">

        <div class="news">
          <h4>
            <em class="fl">公示：协议|规则|证照</em>
          </h4>
          <div class="clearix">
            <div class="pt-left">
              <img src="./images/tool-logo.png" alt="">
            </div>
            <div class="pt-right">
              <h3>Hi,欢迎来到苏宁易购</h3>
              <div>
                <a href="#" class="login">登录</a>
                <a href="#" class="register">注册</a>
              </div>
            </div>
          </div>
        </div>
        <div class="xrzx">199新人专享</div>
        <div class="zxtq">开通super尊享特权</div>
        <div class="pictrue">
          <a href="#">
            <img src="./images/159503668779632788.png" alt="领红包">
            <h3>领红包</h3>
          </a>
          <a href="#">
            <img src="./images/159503691577022653.png" alt="以旧换新">
            <h3>以旧换新</h3>
          </a>
          <a href="#">
            <img src="./images/165752909464915600.png" alt="抢神劵">
            <h3>抢神劵</h3>
          </a>
        </div>
        <div class="dianqi">
          <div>
            <img src="./images/165752913610070145.png" alt="">
            <h4>手机电脑</h4>
          </div>
          <div>
            <img src="./images/165752920559657094.png" alt="">
            <h4>苏宁超市</h4>
          </div>
          <div>
            <img src="./images/165761347664883826.png" alt="">
            <h4>家装建材</h4>
          </div>
       
        <div>
          
            <img src="./images/165761365073084286.png" alt="">
            <h4>优选空调</h4>
          </div>
          <div>
            <img src="./images/165761390233547813 (1).png" alt="">
            <h4>大牌水洗</h4>
          </div>
          <div>
            <img src="./images/165761410514541676.png" alt="">
            <h4>生活家电</h4>
          </div>
        
          <div>
            <img src="./images/165761418807823157.png" alt="">
            <h4>厨卫电器</h4>
          </div>
          <div>
            <img src="./images/165767610566754758.png" alt="">
            <h4>苏宁帮客</h4>
          </div>
          <div>
            <img src="./images/165767615377853772.png" alt="">
            <h4>苏宁卡</h4>
          </div>
        </div>
      </div>
     
      
      
    </div>
    
  </div>
</template>

<script>
import Swiper from "@/components/swiper"


export default {
  name: "ListContainer",
  components: {
    Swiper
  },

};
</script>

<style lang="less" scoped>
.list-container {
  width: 1200px;
  margin: 0 auto;

  .sortList {
    height: 464px;
    padding-left: 210px;

    .center {
      box-sizing: border-box;
      width: 740px;
      height: 100%;
      padding: 5px;
      float: left;
    }

    .right {
      float: left;
      width: 250px;
      // background-color: #fada99;
      .news {
        // border: 1px solid #e4e4e4;
        margin-top: 5px;
        margin-bottom: 70px;
        

        h4 {
          border-bottom: 1px solid #e4e4e4;
          // padding: 5px 10px;
          border-radius: 12px 12px 0 0;
          height: 35px;
          text-align: center;
          margin: 5px 5px 0;
          line-height: 22px;
          overflow: hidden;
          font-size: 14px;
          background-color: #333;
          
          

          .fl {
            // margin: 0 auto;
            color: #e5c98f;
            line-height: 35px;
            
          }

          .fr {
            float: right;
            font-size: 12px;
            font-weight: 400;
          }
        }
        .clearix{
          
          div img{
            float: left;
            width: 50px;
            height: 50px;
          }
          .pt-right{
            float: left;
            margin-left: 20px;
            padding-top: 20px;
            div {
              margin-top: 10px;
              a{
              display: inline-block;
              border-right: 2px solid #e5c98f;
              padding: 0 5px;
              color: #e5c98f;
              font-size: 12px;
            }
            a:last-child{
              border-right: none;
            }
          }
          }

        }

        .news-list {
          padding: 5px 15px;
          line-height: 26px;

          .bold {
            font-weight: 700;
          }
        }
      }
      .xrzx{
        clear: both;
        width: 152px;
        height: 26px;
        line-height: 26px;
        background-color: #ff8000;
        margin-top: 20px;
       margin: 0 auto;
        text-align: center;
        margin-bottom: 10px;
        color: #fff;
        font-weight: bold;
      }
      .zxtq{
        clear: both;
        width: 152px;
        margin-top:20px;
        margin: 0 auto;
        line-height: 26px;
        height: 26px;
        text-align: center;
        background-color: #363876;
        color: #fada99;
        font-weight: bold;
      }
      .pictrue{
        float: left;
        margin-top: 10px;
        text-align: center;
        font-size: 10px;
        a{
          width: 50px;
          margin-right: 15px;
          margin-left: 15px;
          display: inline-block;
          // border: 1px solid red;
          text-decoration: none;

          img{
            height: 45px;
          }
          h3{
            font-size: 12px;
          }
        }
        a:hover h3{
          color: red;
        }
        
      }
      .dianqi{
        float: left;
        div{
          width: 50px;
          margin-right: 15px;
          margin-left: 15px;
          display: inline-block;
          // border: 1px solid red;
          
          img{
            height: 45px;
          }
          h3{
            font-size: 12px;
            
          }
        }
        div:hover{
          color: red;
        }
      }
      .lifeservices {
        border-right: 1px solid #e4e4e4;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;

        .life-item {
          border-left: 1px solid #e4e4e4;
          border-bottom: 1px solid #e4e4e4;
          margin-right: -1px;
          height: 64px;
          text-align: center;
          position: relative;
          cursor: pointer;
          width: 25%;
          
        }
      }

      .ads {
        margin-top: 5px;

        img {
          opacity: 0.8;
          transition: all 400ms;

          &:hover {
            opacity: 1;
          }
        }
      }
    }
    
  }
  
}
</style>
